package com.example.mapstruct.mapper;

import com.example.mapstruct.dto.CarDto;
import com.example.mapstruct.entity.Car;

/**
 * @author zjm
 * @date 2018/9/19.
 */
public class Main {
  public static void main(String[] args) {
    //given
    Car car = new Car();
    car.setMake("Morris");
    car.setNumberOfSeats(5);


    //when
   /* CarDto carDto = CarMapper.INSTANCE.carToCarDto(car);
    System.out.println(carDto);*/
  }
}
